//
// Created by wze-zero on 2024/9/16 016.
//
#include <iostream>

using namespace std;

int main() {
    int count, num, sum = 0;
    cin >> count;
    for (int i = 0; i < count; ++i) {
        cin >> num;
        sum += num;
    }
    cout << sum << endl;
    return 0;
}